{% comment %}
/* Copyright 2009 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
{% endcomment %}
{% spaceless %}
<!DOCTYPE html>
<html>
  <head>
    <title>{{blog.name|escape}} - Administration</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Style-Type" content="text/css" />
    <link rel="icon" href="/favicon.ico"/>
    <link rel="stylesheet"
      type="text/css" href="http://yui.yahooapis.com/2.8.0r4/build/reset-fonts-grids/reset-fonts-grids.css">
    <link rel="stylesheet" href="/admin/templates/css/toolbar.css" />
    <meta name="robots" content="noindex,nofollow,nosnippet,noodp" />
    <link
      href="/admin/templates/css/default-style.css"
      rel="stylesheet"
      type="text/css" />
  </head>
{% endspaceless %}
  <body>
    <div id="doc3" class="yui-t7"> 
      <div id="hd" role="banner">
        <div id="user-tools">
          {% if user %}{{ user.gia.email }} |{% endif %}
          <a href="/">Home</a> |
          {% if user %}
            <a class="dbg-link" href={{logout_url}}>Logout</a>
          {% else %}
            <a class="dbg-link" href={{login_url}}>Login</a>
          {% endif %}
        </div>
        <h1 id="blog-name">Admin - {{blog.name}}</h1>
      </div> 
      <div id="bd" role="main"> 
        <div id="yui-main"> 
          <div class="yui-g">
            <div id="nav">
              <ul>
                <li
                  {% ifequal requested_page 'posts' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/posts">Posts</a></li>
                <li
                  {% ifequal requested_page 'pages' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/pages">Pages</a></li>
                <li
                  {% ifequal requested_page 'comments' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/comments">Comments</a></li>
                <li
                  {% ifequal requested_page 'settings' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/settings">Settings</a></li>
                <li
                  {% ifequal requested_page 'links' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/links">Links</a></li>
                <li
                  {% ifequal requested_page 'media' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/media">Media</a></li>
                <li 
                  {% ifequal requested_page 'import' %}
                  class="selected"
                  {% endifequal %}><a href="/admin/import">Import</a></li>
              </ul>
            </div>
            <div id="content">
              {% block content %}&nbsp;{% endblock %}
            </div>
          </div> 
        </div>  
      </div> 
      <div id="ft" role="contentinfo">
        <div id="footer-text">Powered By:
          <a href="http://www.cruisecontrolforappengine.com">Cruise Control</a>      
          for <a href="http://appengine.google.com">AppEngine!</a>
        </div>
      </div> 
    </div>
    <script type="text/javascript" src="/admin/templates/js/admin.js"></script>
  </body>
</html>